package com.example.mode;

import com.jeremyliao.liveeventbus.LiveEventBus;
import com.utils.conmponentbase.app.BaseApplication;

public class ModeApp extends BaseApplication {
    @Override
    public void onCreate() {
        super.onCreate();
        //EventBus for Android，消息总线，基于LiveData，具有生命周期感知能力，支持Sticky，支持AndroidX，支持跨进程，支持跨APP
        LiveEventBus.config()
                .lifecycleObserverAlwaysActive(true)
                .enableLogger(true)
                .autoClear(true);
    }
}
